home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 5
/
The 640 Meg Shareware Studio CD-ROM Volume V (Data Express)(1994).ISO
/
amiga
/
avm1_19.lha
/
rexx
/
callup.avm
< prev
next >
Wrap
Text File
|
1994-04-06
|
496b
|
20 lines
/* */
parse upper arg number
prevdir = pragma('directory', 'avmrexx:')
call open('configfile', 'avm:player.cfg', 'r')
foundServer = 0
do while ~eof('configfile')
line = readln('configfile')
parse upper var line variable '=' value
if variable = 'SERVER' then do
address rexx 'usebracket.avm' value 'secretary.avm' value number
foundServer = 1
end
end
call close('configfile')
if ~foundServer then say "Couldn't find a server in avm:player.cfg"
call pragma('directory', prevdir)